package com.banshuibao.bsb_android.model;

import java.util.List;

/**
 * Created by Administrator on 2018/5/23.
 */

public class KnowledgeModel {


    /**
     * code : 1
     * des : 请求成功
     * data : [{"uuid":"275d7ec555c04b9abeffc3ccf135bf70","title":"MySQL从删库到跑路","content":null,"type":"0","author":"MySQL从删库到跑路","clickNum":5,"source":"MySQL从删库到跑路","createDate":1526973306000,"createBy":"1","updateDate":1526974736000,"delFlag":"0","sort":2}]
     * sinceId : 1
     * rows : 1
     * maxId : 1
     */

    private String code;
    private String des;
    private int sinceId;
    private int rows;
    private int maxId;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getSinceId() {
        return sinceId;
    }

    public void setSinceId(int sinceId) {
        this.sinceId = sinceId;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getMaxId() {
        return maxId;
    }

    public void setMaxId(int maxId) {
        this.maxId = maxId;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class body {
        private int sinceId;
        private int maxId;
        private String type;

        public int getSinceId() {
            return sinceId;
        }

        public void setSinceId(int sinceId) {
            this.sinceId = sinceId;
        }

        public int getMaxId() {
            return maxId;
        }

        public void setMaxId(int maxId) {
            this.maxId = maxId;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class DataBean {
        /**
         * uuid : 275d7ec555c04b9abeffc3ccf135bf70
         * title : MySQL从删库到跑路
         * content : null
         * type : 0
         * author : MySQL从删库到跑路
         * clickNum : 5
         * source : MySQL从删库到跑路
         * createDate : 1526973306000
         * createBy : 1
         * updateDate : 1526974736000
         * delFlag : 0
         * sort : 2
         */

        private String uuid;
        private String title;
        private Object content;
        private String type;
        private String author;
        private int clickNum;
        private String source;
        private long createDate;
        private String createBy;
        private long updateDate;
        private String delFlag;
        private int sort;
        private String img;

        public String getUuid() {
            return uuid;
        }

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Object getContent() {
            return content;
        }

        public void setContent(Object content) {
            this.content = content;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public int getClickNum() {
            return clickNum;
        }

        public void setClickNum(int clickNum) {
            this.clickNum = clickNum;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public long getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(long updateDate) {
            this.updateDate = updateDate;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }
    }
}
